import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/alarmEvents/list',
    method: 'get',
    params: { query }
  })
}
export function fetchTypeData(query) {
  return request({
    url: '/alarmEvents/fetchTypeData',
    method: 'get',
    params: { query }
  })
}
